package com.brspace.qualitycontrol.mapper;

import com.brspace.qualitycontrol.entity.WritUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Hugo
 * @since 2021-04-08
 */
public interface WritUserMapper extends BaseMapper<WritUser> {

    //修改当前查询收文在当前登录用户下为已阅
    void updateIsRead(@Param("writId") String id, @Param("userId") String userId);
}
